IF EXISTS ( SELECT  *
            FROM    dbo.sysobjects
            WHERE   id = OBJECT_ID(N'CGO_Account')
                    AND OBJECTPROPERTY(id, N'IsTable') = 1 ) 
  BEGIN
    DROP TABLE dbo.CGO_Account
  END


CREATE TABLE [dbo].[CGO_Account]
  (
    [UserID] [int] NOT NULL ,
    [PortalID] [int] NOT NULL ,
    [Token] [money] NULL,
    [LastUpdateDate] [datetime] NULL
  )
ON
  [PRIMARY]
GO
ALTER TABLE [dbo].[CGO_Account] ADD CONSTRAINT [PK_CGO_Account] PRIMARY KEY CLUSTERED  ([UserID], [PortalID]) ON [PRIMARY]
GO





